/*
 * PeerIdentifier.h
 *
 *  Created on: 27/06/2014
 *      Author: Caina
 */

#ifndef PEERIDENTIFIER_H_
#define PEERIDENTIFIER_H_

#include <cstdlib>
#include <ctime>
#include <string>

#include "ByteQueue.h"

class PeerIdentifier {
private:
	unsigned int ipAddr;
	unsigned int identifier;

public:
	PeerIdentifier();
	PeerIdentifier(unsigned int, unsigned int);
	virtual ~PeerIdentifier();
	bool is(unsigned int);
	unsigned int get_ip_address();
	void set_ip_address(unsigned int);
	unsigned int get_identifier();

};

#endif /* PEERIDENTIFIER_H_ */
